package com.tlgen.caffeine.controller;

import com.tlgen.caffeine.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 *@title HelloController
 *@description
 *@author ta151486
 *@version 1.0
 *@create 2023/12/15 16:13
 */
@RestController
public class HelloController {

    @Autowired
    private SysUserService userService;

    @GetMapping("/save")
    public Object save() {
        return userService.save();
    }

    @GetMapping("/select")
    public Object select() {
        return userService.select();
    }

}
